package com.nbst.model.mes;

import java.util.Arrays;
import java.util.Date;

import com.nbst.model.base.OrderBy;

public class Ipqc extends OrderBy {
	/** 生产过程检验Id */
    private Integer fInterId;

    /** 编号 */
    private String fCode;

    /** 产品内码 */
    private Integer fItemId;

    /** 产品代码 */
    private String fNumber;

    /** 产品名称 */
    private String fName;

    /** 型号规格 */
    private String fModel;

    /** 任务单id */
    private Integer fIcmoId;

    /** 质检员 */
    private String fWorker;

    /** 制单时间 */
    private Date fDate;

    /** 质检时间 */
    private Date fWorkDate;

    /** 审核人 */
    private Integer fChecker;

    /** 审核时间 */
    private Date fCheckDate;

    /** 删除标志 */
    private Integer fClosed;

    /** 备注 */
    private String fNote;

    /** 文本(放入反馈信息、图片等) */
    private byte[] fText;

    /** 制单人ID */
    private Integer fBiller;
    
    /** 制单人 */
    private String name;
    
    /**关联员工开工表内码*/
    private Integer fStartWorkId;
    
    /**检验类型  1首检  2巡检   3 抽检   4完工检  5 第三方检*/
    private Integer fType;
    
    /**本次检验良品数*/
    private Double fOkQty;
    
    /**本次检验工废数*/
    private Double fScrapQty;
    
    /**本次检验次品数*/
    private Double fNgQty;
    
    /**本次检验料废数*/
    private Double fForitemQty;
    
    /** 本次检验料废百分比*/
	private Double fForitemPercent;
    
    /**本次检验数*/
    private Double fQty;
    
    /**判定:  0 OK 扣除不良品通过，1全部返工，2全部作工废处理 ，3全部作料废处理   4 NG*/
    private Integer fStatus;
    
    private String fWorkerName;
    
    /**是否为自动质检*/
    private Integer fIsAutoQc;
    
    /**生产任务单号*/
    private String fBillNo;
    
    /**工序流转卡id*/
    private Integer fCardId;
    
    private Integer fEndWorkId;
    
    /**操作工*/
    private String sfWorkerName;
    
    /**数据来源   0办公室电脑  1车间报工台  2手持机(PDA)*/
    private Integer fMacSource;

    public Integer getfBiller() {
		return fBiller;
	}

	public void setfBiller(Integer fBiller) {
		this.fBiller = fBiller;
	}



	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getfInterId() {
        return fInterId;
    }

    public void setfInterId(Integer fInterId) {
        this.fInterId = fInterId;
    }

    public String getfCode() {
        return fCode;
    }

    public void setfCode(String fCode) {
        this.fCode = fCode == null ? null : fCode.trim();
    }

    public Integer getfItemId() {
        return fItemId;
    }

    public void setfItemId(Integer fItemId) {
        this.fItemId = fItemId;
    }

    public String getfNumber() {
        return fNumber;
    }

    public void setfNumber(String fNumber) {
        this.fNumber = fNumber == null ? null : fNumber.trim();
    }

    public String getfName() {
        return fName;
    }

    public void setfName(String fName) {
        this.fName = fName == null ? null : fName.trim();
    }

    public String getfModel() {
        return fModel;
    }

    public void setfModel(String fModel) {
        this.fModel = fModel == null ? null : fModel.trim();
    }

    public Integer getfIcmoId() {
        return fIcmoId;
    }

    public void setfIcmoId(Integer fIcmoId) {
        this.fIcmoId = fIcmoId;
    }

    public String getfWorker() {
        return fWorker;
    }

    public void setfWorker(String fWorker) {
        this.fWorker = fWorker;
    }

    public Date getfDate() {
        return fDate;
    }

    public void setfDate(Date fDate) {
        this.fDate = fDate;
    }

    public Date getfWorkDate() {
        return fWorkDate;
    }

    public void setfWorkDate(Date fWorkDate) {
        this.fWorkDate = fWorkDate;
    }

    public Integer getfChecker() {
        return fChecker;
    }

    public void setfChecker(Integer fChecker) {
        this.fChecker = fChecker;
    }

    public Date getfCheckDate() {
        return fCheckDate;
    }

    public void setfCheckDate(Date fCheckDate) {
        this.fCheckDate = fCheckDate;
    }

    public Integer getfClosed() {
        return fClosed;
    }

    public void setfClosed(Integer fClosed) {
        this.fClosed = fClosed;
    }

    public String getfNote() {
        return fNote;
    }

    public void setfNote(String fNote) {
        this.fNote = fNote == null ? null : fNote.trim();
    }

    public byte[] getfText() {
        return fText;
    }

    public void setfText(byte[] fText) {
        this.fText = fText;
    }

	public Integer getfStartWorkId() {
		return fStartWorkId;
	}

	public void setfStartWorkId(Integer fStartWorkId) {
		this.fStartWorkId = fStartWorkId;
	}

	public Integer getfType() {
		return fType;
	}

	public void setfType(Integer fType) {
		this.fType = fType;
	}

	public Double getfOkQty() {
		return fOkQty;
	}

	public void setfOkQty(Double fOkQty) {
		this.fOkQty = fOkQty;
	}

	public Double getfNgQty() {
		return fNgQty;
	}

	public void setfNgQty(Double fNgQty) {
		this.fNgQty = fNgQty;
	}

	public Double getfQty() {
		return fQty;
	}

	public void setfQty(Double fQty) {
		this.fQty = fQty;
	}

	public Integer getfStatus() {
		return fStatus;
	}

	public void setfStatus(Integer fStatus) {
		this.fStatus = fStatus;
	}

	public String getfWorkerName() {
		return fWorkerName;
	}

	public void setfWorkerName(String fWorkerName) {
		this.fWorkerName = fWorkerName;
	}

	public Integer getfIsAutoQc() {
		return fIsAutoQc;
	}

	public void setfIsAutoQc(Integer fIsAutoQc) {
		this.fIsAutoQc = fIsAutoQc;
	}

	public String getfBillNo() {
		return fBillNo;
	}

	public void setfBillNo(String fBillNo) {
		this.fBillNo = fBillNo;
	}

	public Integer getfCardId() {
		return fCardId;
	}

	public void setfCardId(Integer fCardId) {
		this.fCardId = fCardId;
	}

	public Integer getfEndWorkId() {
		return fEndWorkId;
	}

	public void setfEndWorkId(Integer fEndWorkId) {
		this.fEndWorkId = fEndWorkId;
	}

	public Double getfScrapQty() {
		return fScrapQty;
	}

	public void setfScrapQty(Double fScrapQty) {
		this.fScrapQty = fScrapQty;
	}

	public Double getfForitemQty() {
		return fForitemQty;
	}

	public void setfForitemQty(Double fForitemQty) {
		this.fForitemQty = fForitemQty;
	}

	
	public Double getfForitemPercent() {
		return fForitemPercent;
	}

	public void setfForitemPercent(Double fForitemPercent) {
		this.fForitemPercent = fForitemPercent;
	}

	public String getSfWorkerName() {
		return sfWorkerName;
	}

	public void setSfWorkerName(String sfWorkerName) {
		this.sfWorkerName = sfWorkerName;
	}

	public Integer getfMacSource() {
		return fMacSource;
	}

	public void setfMacSource(Integer fMacSource) {
		this.fMacSource = fMacSource;
	}

	@Override
	public String toString() {
		return "Ipqc [fInterId=" + fInterId + ", fCode=" + fCode + ", fItemId=" + fItemId + ", fNumber=" + fNumber
				+ ", fName=" + fName + ", fModel=" + fModel + ", fIcmoId=" + fIcmoId + ", fWorker=" + fWorker
				+ ", fDate=" + fDate + ", fWorkDate=" + fWorkDate + ", fChecker=" + fChecker + ", fCheckDate="
				+ fCheckDate + ", fClosed=" + fClosed + ", fNote=" + fNote + ", fText=" + Arrays.toString(fText)
				+ ", fBiller=" + fBiller + ", name=" + name + ", fStartWorkId=" + fStartWorkId + ", fType=" + fType
				+ ", fOkQty=" + fOkQty + ", fScrapQty=" + fScrapQty + ", fNgQty=" + fNgQty + ", fForitemQty="
				+ fForitemQty + ", fForitemPercent=" + fForitemPercent + ", fQty=" + fQty + ", fStatus=" + fStatus
				+ ", fWorkerName=" + fWorkerName + ", fIsAutoQc=" + fIsAutoQc + ", fBillNo=" + fBillNo + ", fCardId="
				+ fCardId + ", fEndWorkId=" + fEndWorkId + ", sfWorkerName=" + sfWorkerName + ", fMacSource="
				+ fMacSource + "]";
	}

   
    
}